// .tree-list
//   .ant-tree li
//     > .ant-tree-node-content-wrapper
//       width calc(100% - 24px)
//       line-height 1.6
//       height auto
//     .ant-tree-child-tree
//       span.ant-tree-switcher.ant-tree-switcher-noop
//         display none
//       li.ant-tree-treenode-switcher-open
//       li.ant-tree-treenode-switcher-close
//         & > .ant-tree-switcher.ant-tree-switcher-noop
//           display inline-block
//       .ant-tree-node-content-wrapper-open
//       .ant-tree-node-content-wrapper-close
//         width calc(100% - 48px)
//         display inline-block
//       .ant-tree-child-tree
//         .ant-tree-node-content-wrapper
//           display block
//           padding-left 8px
//           width 100%
//           overflow hidden
//           white-space nowrap
//           text-overflow ellipsis

.tree-control-btn
  display none
  margin-left 3px
  width 16px
  line-height 26px
  height 20px
.tree-item
  display flex
  &.is-category
    .tree-item-title
      font-weight bold
  &:hover
    .tree-control-btn
      display inline-block
      vertical-align middle
.tree-item-title
  flex-grow 1
  height 20px
  max-width 300px
  overflow hidden
  white-space nowrap
  text-overflow ellipsis
.sidebar-panel .tree-item-title
  max-width 180px
.with-plus
  &:after
    content '+'
    position absolute
    top 2px
    right 2px
